@import 'src/style/variable';

.head {
  margin-top: 10px;

  font-size: 28px;
  font-weight: 600;
  @media (min-width: $small) {
    font-size: 32px;
    margin-top: 20px;
  }
}

.content {
  border-radius: 12px;
  background-color: var(--modal-bg);
  margin-top: 30px;
  padding-top: 25px;
  padding-right: 20px;
  padding-left: 20px;
}

.top {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  @media (min-width: $xsmall) {
    margin-left: 15px;
    margin-right: 15px;
  }
  @media (min-width: $small) {
    margin-left: 40px;
    margin-right: 40px;
  }
  .block {
    display: flex;
    flex-wrap: wrap;
  }
  .item {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 68px;
    align-items: center;
    justify-content: space-between;
    background-color: var(--modal-bg);
  }

  @media (min-width: $xsmall) {
    .item {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      width: 33.3%;
      height: auto;
      padding-top: 30px;
      padding-bottom: 30px;
    }
  }
}

.valueItem {
  min-height: 36px;
  display: flex;
  align-items: center;
}

.status {
  color: var(--bank-card);
}

.title {
  color: var(--label);
}

.divider {
  background-color: var(--divider);
  height: 1px;
}

.bottomHead {
  display: flex;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 16px;
  color: var(--label);
  @media (min-width: $xsmall) {
    margin-left: 15px;
    margin-right: 15px;
  }
  @media (min-width: $small) {
    margin-left: 40px;
    margin-right: 40px;
  }
}

.buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 12px;
  padding-bottom: 25px;
  .checkout {
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
  }
  @media (min-width: $xsmall) {
    margin-left: 15px;
    margin-right: 15px;
  }
  @media (min-width: $small) {
    margin-left: 40px;
    margin-right: 40px;
  }
}

.payment {
  padding: 30px 0;

  @media (min-width: $xsmall) {
    padding: 30px 15px;
  }

  @media (min-width: $small) {
    padding: 30px 40px;
  }

  .title {
    color: var(--label);
    padding-bottom: 15px;
  }

  .bank {
    font-size: 14px;
    line-height: 21px;

    .location {
      display: flex;
      gap: 15px;
    }
    @media (min-width: $xsmall) {
      display: flex;
      gap: 24px;
      > div {
        width: calc(100% / 5);
      }
    }
  }
}
